<style>
{switch name="$class_name" }
        {case value="家具"}
            #jiaju{
                
            }
            #jiaju h2{
                background-image: url('__STATIC__/assets/images/btn_sel.png');
                color:#fff;
                width: 273px;
                
            }

        {/case}
        {case value="卫浴"}
            #weiyu{
                
            }
            #weiyu h2{
                background-image: url('__STATIC__/assets/images/btn_sel.png');
                color:#fff;
                width: 273px;
                
            }

        {/case}
        {case value="衣柜"}
            #yigui{
                
            }
            #yigui h2{
                background-image: url('__STATIC__/assets/images/btn_sel.png');
                color:#fff;
                width: 273px;
                
            }

        {/case}
        {case value="橱柜"}
            #chugui{
                
            }
            #chugui h2{
                background-image: url('__STATIC__/assets/images/btn_sel.png');
                color:#fff;
                width: 273px;
                
            }

        {/case}
        {case value="瓷砖"}
            #cizhuan{
                
            }
            #cizhuan h2{
                background-image: url('__STATIC__/assets/images/btn_sel.png');
                color:#fff;
                width: 273px;
                
            }

        {/case}
        {case value="地板"}
            #diban{
                
            }
            #diban h2{
                background-image: url('__STATIC__/assets/images/btn_sel.png');
                color:#fff;
                width: 273px;
                
            }

        {/case}
        {case value="门窗"}
            #menchuang{
                
            }
            #menchuang h2{
                background-image: url('__STATIC__/assets/images/btn_sel.png');
                color:#fff;
                width: 273px;
                
            }

        {/case}
        {case value="窗帘"}
            #chuanglian{
                
            }
            #chuanglian h2{
                background-image: url('__STATIC__/assets/images/btn_sel.png');
                color:#fff;
                width: 273px;
                
            }

        {/case}
        {case value="墙纸"}
            #qiangzhi{
                
            }
            #qiangzhi h2{
                background-image: url('__STATIC__/assets/images/btn_sel.png');
                color:#fff;
                width: 273px;
                
            }

        {/case}
        {case value="灯饰"}
            #dengshi{
                
            }
            #dengshi h2{
                background-image: url('__STATIC__/assets/images/btn_sel.png');
                color:#fff;
                width: 273px;
                
            }

        {/case}
        {/switch}

</style>
<div class="classification_left">
            <div class="title">
                <h3>分类</h3>
            </div>
            <div id="class_lei" class="layui-collapse" lay-accordion="">
                <div class="layui-colla-item" id="jiaju">
                    <a href="{:url('Class/class_index',array('type'=>'家具'))}"><h2 class="layui-colla-title">家具</h2></a>
                    <ul class="layui-colla-content " style="display: none!important;"></ul>

                </div>
                <div class="layui-colla-item" id="weiyu">
                    <a href="{:url('Class/class_index',array('type'=>'卫浴'))}"><h2 class="layui-colla-title">卫浴</h2></a>
                    <ul class="layui-colla-content " style="display: none!important;"></ul>

                </div>
                <div class="layui-colla-item" id="yigui">
                    <a href="{:url('Class/class_index',array('type'=>'衣柜'))}"><h2 class="layui-colla-title">衣柜</h2></a>
                    <ul class="layui-colla-content " style="display: none!important;"></ul>
                </div>
                <div class="layui-colla-item" id="chugui">
                    <a href="{:url('Class/class_index',array('type'=>'橱柜'))}"><h2 class="layui-colla-title">橱柜</h2></a>
                    <ul class="layui-colla-content " style="display: none!important;"></ul>
                </div>
                <div class="layui-colla-item" id="cizhuan">
                    <a href="{:url('Class/class_index',array('type'=>'瓷砖'))}"><h2 class="layui-colla-title">瓷砖</h2></a>
                    <ul class="layui-colla-content " style="display: none!important;"></ul>
                </div>
                <div class="layui-colla-item" id="diban">
                    <a href="{:url('Class/class_index',array('type'=>'地板'))}"><h2 class="layui-colla-title">地板</h2></a>
                    <ul class="layui-colla-content " style="display: none!important;"></ul>
                </div>
                <div class="layui-colla-item" id="menchuang">
                    <a href="{:url('Class/class_index',array('type'=>'门窗'))}"><h2 class="layui-colla-title">门窗</h2></a>
                    <ul class="layui-colla-content " style="display: none!important;"></ul>
                </div>
                <div class="layui-colla-item" id="chuanglian">
                    <a href="{:url('Class/class_index',array('type'=>'窗帘'))}"><h2 class="layui-colla-title">窗帘</h2></a>
                    <ul class="layui-colla-content " style="display: none!important;"></ul>
                </div>
                <div class="layui-colla-item" id="qiangzhi">
                    <a href="{:url('Class/class_index',array('type'=>'墙纸'))}"><h2 class="layui-colla-title">墙纸</h2></a>
                    <ul class="layui-colla-content " style="display: none!important;"></ul>
                </div>
                <div class="layui-colla-item" id="dengshi">
                    <a href="{:url('Class/class_index',array('type'=>'灯饰'))}"><h2 class="layui-colla-title">灯饰</h2></a>
                    <ul class="layui-colla-content " style="display: none!important;"></ul>
                </div>
            </div>
        </div>